#include<stdio.h>
int main()
{
	int a,b,c,max;
	scanf("%d,%d,%d",&a,&b,&c);
	if(a>b)
	  {
	  	if(a>c)
	  	printf("max=%d",a);
	  	else
	  	printf("max=%d",c);
	  }
	 else
	  {
	  	if(b>c)
	  	printf("max=%d",b);
	  	else
	    printf("max=%d",c);
	  }
	return 0;
}
